// ObstacleData.ts
import { _decorator, Component } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('ObstacleData')
export class ObstacleData extends Component {
    @property({ tooltip: "是否为固定障碍物（初始8个）" })
    isFixed: boolean = false;

    @property({ tooltip: "移动速度（仅非固定障碍物有效）" })
    moveSpeed: number = 0;
}
